* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #f3f5f7;
    /*height: 4000px;*/
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

li {
    list-style: none;
}


.w {
    width: 1200px;
    margin: 0 auto;
}

/*头部*/
.header {
    height: 100px;
    background-color: #ffffff;
}

.header .logo {
    float: left;
    width: 200px;
    height: 45px;
    background-color: #ffffff;
    margin: 25px 0;
}

.course ul {
    float: left;
    height: 45px;
    margin-top: 20px;
    margin-left: 40px;
}


.course ul li {
    float: left;
}

.course li a {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    text-align: center;
    margin-left: 30px;
    color: #050505;
    font-size: 18px;
}

.course li a:hover {
    text-decoration: none;
    border-bottom: 3px solid #00a4ff;
    color: #00a4ff;
}

.search {
    line-height: 45px;
    float: left;
    margin-top: 25px;
    margin-left: 90px;
}


.search input {
    float: left;
    display: inline-block;
    width: 360px;
    height: 35px;
    border: 1px solid #00a4ff;
    border-right: none;
    outline: none;
    padding-left: 15px;
    color: #a5a5a5;
}

.search .f-search {
    float: right;
    width: 50px;
    height: 37px;
    background: url("images/fa-search.png") #00a4ff no-repeat 18px 7px;
}

.user {
    margin-top: 25px;
    margin-left: 30px;
    float: left;
    width: 125px;
    height: 45px;
    /*background-color: thistle;*/
}

.user img {
    vertical-align: middle;
    margin-right: 5px;
    float: left;
}


.banner {
    height: 420px;
    background-color: #1c036c;
}

.nav {
    float: left;
    height: 420px;
    width: 190px;
    background-color: rgba(0, 0, 0, .3);
}


.nav li a {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    margin-top: 25px;
    margin-left: 20px;

}

.nav li a:hover {
    color: #00b4ff;
}


.banner .w {
    height: 420px;
    /*background-color: pink;*/
    background: url("images/banner2.png");
}


.banner .course {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #ffffff;
    margin-top: 50px;
}

.banner .course .head {
    height: 45px;
    background-color: #9bceea;
    font-size: 18px;
    color: #ffffff;
    line-height: 45px;
    text-align: center;
}

.banner .course ul {
    float: right;
    width: 230px;
    height: 200px;
    /*background-color: thistle;*/
    margin-top: 0;
}

.banner .course li {
    width: 200px;
    height: 50px;
    margin-top: 15px;
    margin-left: 10px;
    /*background-color: yellow;*/
    text-align: center;
    border-bottom: 1px solid #a5a5a5;
}

.banner .course ul h3 {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
}

.banner .course ul p {
    color: #a5a5a5;
    font-size: 12px;
}


.course button {
    margin-left: 15px;
    margin-top: 5px;
    width: 200px;
    height: 38px;
    border: 1px solid #00b4ff;
    font-size: 16px;
    font-weight: 700;
    background-color: #ffffff;
}

.course button a {
    color: #00b4ff;
}

/*精品推荐*/
.recommend {
    height: 60px;
    /*background-color: pink;*/
    margin-top: 5px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
}

.recommend .r-nav {
    float: left;
    font-size: 18px;
    color: #00b4ff;
    margin-left: 30px;
    line-height: 60px;
    text-align: center;
}

.recommend ul {
    margin-left: 30px;
    float: left;
    margin-top: 10px;
}

.recommend ul li {
    padding: 0 35px;
    margin-top: 5px;
    line-height: 30px;
    height: 30px;
    /*background-color: thistle;*/
    text-align: center;
    float: left;
    border-left: 1px solid #a5a5a5;

}


.recommend .reset {
    float: right;
    font-size: 16px;
    margin-right: 30px;
    line-height: 60px;
    text-align: center;
}

.recommend .reset a {
    color: #00b4ff;
}


/*精品推荐大盒子main*/
.main {
    margin-top: 30px;
}

.main .head {
    height: 42px;
    /*background-color: pink;*/

}

.main .head .head-tj {
    float: left;
    font-size: 20px;
    color: #494949;
}

.main .head a {
    float: right;
    margin: 8px 30px 0 0;
    color: #a5a5a5;
    font-size: 12px;
}

.main .main-course {
    width: 1225px;
}

.main-course ul li {
    float: left;
    margin-right: 15px;
    width: 230px;
    height: 270px;
}

.main-course img {
    width: 100%;
}

.main-course .main-text {
    width: 230px;
    height: 113px;
    background-color: #ffffff;
}

.main-course h3 {
    padding: 25px 20px 15px 20px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;

}

.main-course .learn {
    font-size: 14px;
    margin-left: 20px;
    color: #999999;
}

.main-course .learn span {
    color: #ffa57b;
}


/*编程入门*/
.program .head {
    margin: 35px 0 20px 0;
    /*background-color: pink;*/
    height: 42px;
}


.head .title {
    float: left;
    font-size: 20px;
    color: #494949;
    line-height: 42px;
    text-align: center;
    margin-right: 350px;

}

.head ul {
    line-height: 42px;
    text-align: center;
}

.head ul .current {
    color: #00b4ff;
}

.head ul li {
    float: left;
    margin-right: 70px;
}

.program .head a {
    float: right;
    margin: 8px 30px 0 0;
    color: #a5a5a5;
    font-size: 12px;
    padding-top: 6px;
}

/*编程入门课程部分*/
.program .course {
    width: 1225px;
}

.course .course-left {
    float: left;
    height: 393px;
    width: 229px;
    margin-right: 14px;
}

.course .course-left img {
    height: 100%;
    width: 100%;
}

.course-right {
    float: left;
    width: 960px;
    height: 400px;
}

.course-bd {
    float: left;
    padding-top: 20px;
    margin-right: 8px;
}

.course-right .course-bd .main-text {
    width: 231px;
    height: 110px;
    background-color: #ffffff;
}

.course-bd .main-text h3 {
    padding: 25px 20px 15px 20px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}

.course-bd .main-text .learn {
    font-size: 14px;
    margin-left: 20px;
    color: #999999;
}

.course-bd .main-text .learn span {
    color: #ffa57b;
}

/*机器学习工程师*/
.machine {
    height: 42px;
    margin-top: 20px;
    /*background-color: pink;*/
}

.machine .head a {
    float: right;
    margin-right: 30px;
    color: #a5a5a5;
    font-size: 12px;
    line-height: 42px;
}


.machine .main-course {
    width: 1225px;
}


.main-course ul li {
    float: left;
    margin-right: 15px;
    width: 230px;
    height: 270px;
}


/*footer部分*/
.footer {
    height: 415px;
    /*background-color: pink;*/
    margin-top: 350px;
}

.footer .f-left {
    float: left;
    width: 450px;
    height: 180px;
    /*background-color: thistle;*/
}

.footer .f-left img {
    margin: 30px 0 0 20px;
}

.footer .f-left p {
    font-size: 12px;
    color: #666666;
    margin: 25px 0 0 20px;
}

.footer .f-left button {
    width: 118px;
    height: 33px;
    margin: 15px 0 0 20px;
    border: 1px solid #00b4ff;
    background-color: #fff;

}

.footer .f-left button a {
    font-size: 16px;
    color: #00b4ff;
}

.footer .f-left {
    margin-right: 190px;
}


.footer .f-right dl {
    float: left;
}

.f-right dt {
    margin:20px 115px 15px 0;
}

.f-right dt a {
    font-size: 16px;
    color: #333333;

}

.f-right dd a {
    font-size: 12px;
    color: #333333;
}
